package com.example.glgk.dto;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author lxk
 */
public class IndicatorData {

    private String projectName; //项目名(部门名称)
    private String unit; //单位
    private String isKey; //是否国家重点监测指标 1 0
    private BigDecimal degree; //变化程度
    private List<IndicatorValues> yearData; //年数据
    private Integer xh; //指标序号
    private String deptName; //责任部门
    private int isSurgicalDepartment; //是否为手术科室
    private String businessTrends; //业务增幅趋势
    private String personResponsible; //负责人
    private String zbxh; //指标序号 ZBxx形式

    public String getZbxh() {
        return zbxh;
    }

    public void setZbxh(String zbxh) {
        this.zbxh = zbxh;
    }

    public IndicatorData(String projectName, String unit, String isKey, BigDecimal degree, List<IndicatorValues> yearData, Integer xh, String deptName, int isSurgicalDepartment, String businessTrends, String personResponsible, String zbxh) {
        this.projectName = projectName;
        this.unit = unit;
        this.isKey = isKey;
        this.degree = degree;
        this.yearData = yearData;
        this.xh = xh;
        this.deptName = deptName;
        this.isSurgicalDepartment = isSurgicalDepartment;
        this.businessTrends = businessTrends;
        this.personResponsible = personResponsible;
        this.zbxh = zbxh;
    }

    public int getIsSurgicalDepartment() {
        return isSurgicalDepartment;
    }

    public void setIsSurgicalDepartment(int isSurgicalDepartment) {
        this.isSurgicalDepartment = isSurgicalDepartment;
    }

    public String getBusinessTrends() {
        return businessTrends;
    }

    public void setBusinessTrends(String businessTrends) {
        this.businessTrends = businessTrends;
    }



    public String getPersonResponsible() {
        return personResponsible;
    }

    public void setPersonResponsible(String personResponsible) {
        this.personResponsible = personResponsible;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public static class IndicatorValues {
        private BigDecimal indexNumber; //指标值
        private Double increase;  //满分值增幅
        private Double growthRate; //同比增幅
        private String year;  //年份

        public IndicatorValues() {
        }

        public IndicatorValues(BigDecimal indexNumber, Double increase, Double growthRate, String year) {
            this.indexNumber = indexNumber;
            this.increase = increase;
            this.growthRate = growthRate;
            this.year = year;
        }

        public BigDecimal getIndexNumber() {
            return indexNumber;
        }

        public void setIndexNumber(BigDecimal indexNumber) {
            this.indexNumber = indexNumber;
        }

        public Double getIncrease() {
            return increase;
        }

        public void setIncrease(double increase) {
            this.increase = increase;
        }

        public Double getGrowthRate() {
            return growthRate;
        }

        public void setGrowthRate(Double growthRate) {
            this.growthRate = growthRate;
        }

        public String getYear() {
            return year;
        }

        public void setYear(String year) {
            this.year = year;
        }
    }

    public IndicatorData() {
    }



    public Integer getXh() {
        return xh;
    }

    public void setXh(Integer xh) {
        this.xh = xh;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getIsKey() {
        return isKey;
    }

    public void setIsKey(String isKey) {
        this.isKey = isKey;
    }

    public BigDecimal getDegree() {
        return degree;
    }

    public void setDegree(BigDecimal degree) {
        this.degree = degree;
    }

    public List<IndicatorValues> getYearData() {
        return yearData;
    }

    public void setYearData(List<IndicatorValues> yearData) {
        this.yearData = yearData;
    }
}
